<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>

    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>这是demo5</h1>
<a th:href="@{/getUser(id=2)}">查询id为2的</a>
<form th:action="@{/user}" method="post">
    id:<input type="text" name="id"><br>
    password:<input type="password" name="password"><br>
    name:<input type="text" name="name"><br>
    direction:<input type="checkbox" name="languages" value="Java">Java
              <input type="checkbox" name="languages" value="C++">C++
              <input type="checkbox" name="languages" value="C">C<br>
              <input type="submit" value="提交">
</form><br>
<a th:href="@{/getAllUser}">查询所有的用户</a>
</body>
</html>